<!DOCTYPE html>
        <html>
        <head>
            <meta charset="UTF-8">
            <title>&#x68c0;&#x67e5;&#x7cfb;&#x7edf; API &#x6587;&#x6863;</title>
            <style>
/* From extension vscode.github */
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.vscode-dark img[src$=\#gh-light-mode-only],
.vscode-light img[src$=\#gh-dark-mode-only],
.vscode-high-contrast:not(.vscode-high-contrast-light) img[src$=\#gh-light-mode-only],
.vscode-high-contrast-light img[src$=\#gh-dark-mode-only] {
	display: none;
}

</style>
            
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/markdown.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/highlight.css">
<style>
            body {
                font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
                font-size: 14px;
                line-height: 1.6;
            }
        </style>
        <style>
.task-list-item {
    list-style-type: none;
}

.task-list-item-checkbox {
    margin-left: -20px;
    vertical-align: middle;
    pointer-events: none;
}
</style>
<style>
:root {
  --color-note: #0969da;
  --color-tip: #1a7f37;
  --color-warning: #9a6700;
  --color-severe: #bc4c00;
  --color-caution: #d1242f;
  --color-important: #8250df;
}

</style>
<style>
@media (prefers-color-scheme: dark) {
  :root {
    --color-note: #2f81f7;
    --color-tip: #3fb950;
    --color-warning: #d29922;
    --color-severe: #db6d28;
    --color-caution: #f85149;
    --color-important: #a371f7;
  }
}

</style>
<style>
.markdown-alert {
  padding: 0.5rem 1rem;
  margin-bottom: 16px;
  color: inherit;
  border-left: .25em solid #888;
}

.markdown-alert>:first-child {
  margin-top: 0
}

.markdown-alert>:last-child {
  margin-bottom: 0
}

.markdown-alert .markdown-alert-title {
  display: flex;
  font-weight: 500;
  align-items: center;
  line-height: 1
}

.markdown-alert .markdown-alert-title .octicon {
  margin-right: 0.5rem;
  display: inline-block;
  overflow: visible !important;
  vertical-align: text-bottom;
  fill: currentColor;
}

.markdown-alert.markdown-alert-note {
  border-left-color: var(--color-note);
}

.markdown-alert.markdown-alert-note .markdown-alert-title {
  color: var(--color-note);
}

.markdown-alert.markdown-alert-important {
  border-left-color: var(--color-important);
}

.markdown-alert.markdown-alert-important .markdown-alert-title {
  color: var(--color-important);
}

.markdown-alert.markdown-alert-warning {
  border-left-color: var(--color-warning);
}

.markdown-alert.markdown-alert-warning .markdown-alert-title {
  color: var(--color-warning);
}

.markdown-alert.markdown-alert-tip {
  border-left-color: var(--color-tip);
}

.markdown-alert.markdown-alert-tip .markdown-alert-title {
  color: var(--color-tip);
}

.markdown-alert.markdown-alert-caution {
  border-left-color: var(--color-caution);
}

.markdown-alert.markdown-alert-caution .markdown-alert-title {
  color: var(--color-caution);
}

</style>
        
        </head>
        <body class="vscode-body vscode-light">
            <h1 id="检查系统-api-文档">检查系统 API 文档</h1>
<h2 id="基础信息">基础信息</h2>
<ul>
<li>对于登陆用户，header的x-user-id带用户ID； Authorization 为接口返回的token； App-UUID 为接口返回的uuid</li>
<li>线上请求域名：<a href="http://api.yo-bu.com">api.yo-bu.com</a></li>
<li>测试环境请求域名： <a href="http://test-api.yo-bu.com/">http://test-api.yo-bu.com/</a></li>
<li>响应格式:</li>
</ul>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>           <span class="hljs-comment">// 状态码，200表示成功</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>    <span class="hljs-comment">// 状态描述</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-punctuation">}</span>          <span class="hljs-comment">// 响应数据</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<h2 id="错误码说明">错误码说明</h2>
<table>
<thead>
<tr>
<th>错误码</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>成功</td>
</tr>
<tr>
<td>400</td>
<td>参数错误</td>
</tr>
<tr>
<td>401</td>
<td>未授权</td>
</tr>
<tr>
<td>404</td>
<td>资源不存在</td>
</tr>
<tr>
<td>500</td>
<td>服务器内部错误</td>
</tr>
</tbody>
</table>
<h2 id="图片上传接口">图片上传接口</h2>
<h3 id="上传图片">上传图片</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/v1/upload/image</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>image</td>
<td>string</td>
<td>是</td>
<td>base64编码的图片数据，格式为：...</td>
</tr>
<tr>
<td>image_name</td>
<td>string</td>
<td>是</td>
<td>图片名称，建议跟业务保持一致，比如商品的为good+商品名之类</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;image_url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://example.com/images/2024/01/01/abc123.jpg&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>图片必须是base64编码格式</li>
<li>支持的图片格式：JPEG、PNG、GIF</li>
<li>图片大小限制：不超过5MB</li>
<li>返回的图片URL可以直接访问</li>
<li>图片会保存在OSS中，URL格式为：https://{bucket}.{region}.aliyuncs.com/{path}</li>
</ol>
<h2 id="视频上传接口">视频上传接口</h2>
<h3 id="上传视频">上传视频</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/v1/upload/video</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>video</td>
<td>string</td>
<td>是</td>
<td>base64编码的视频数据，格式为：data:video/mp4;base64,AAA...</td>
</tr>
<tr>
<td>video_name</td>
<td>string</td>
<td>是</td>
<td>视频名称，建议跟业务保持一致，比如商品的为good+商品名之类</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;video_url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://example.com/images/2024/01/01/abc123.mp4&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>视频必须是base64编码格式</li>
<li>支持的视频格式：MP4</li>
<li>视频大小限制：不超过50MB</li>
<li>返回的视频URL可以直接访问</li>
<li>视频会保存在OSS中，URL格式为：https://{bucket}.{region}.aliyuncs.com/{path}</li>
</ol>
<h2 id="员工token验证接口">员工Token验证接口</h2>
<h3 id="验证员工token">验证员工Token</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/token</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>int</td>
<td>是</td>
<td>员工ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;user_info&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;shop_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;10003&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;shop_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;呦步牡丹园店001&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;user_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;张三&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;login_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;zhangsan&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;phone&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;13800138000&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;join_time&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2024-01-01 10:00:00&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;role&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;user&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;status&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span>
        <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;token&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;uuid&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;550e8400-e29b-41d4-a716-446655440000&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于验证员工token的有效性</li>
<li>返回的员工信息包含门店信息</li>
<li>token和uuid用于后续接口的身份验证</li>
<li>员工状态为1表示在职，99表示离职</li>
</ol>
<h2 id="用户搜索接口">用户搜索接口</h2>
<h3 id="搜索门店客户">搜索门店客户</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/user/search</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>shop_id</td>
<td>string</td>
<td>是</td>
<td>门店ID</td>
</tr>
<tr>
<td>user_name</td>
<td>string</td>
<td>否</td>
<td>用户名（模糊搜索）</td>
</tr>
<tr>
<td>phone</td>
<td>string</td>
<td>否</td>
<td>联系电话（模糊搜索）</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;shop_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;10003&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;张三&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;phone&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;13800138000&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937422246876291072&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;user_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;张三&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;shop_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;10003&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;gender&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;birthday&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1990-01-01&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;height&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">175.0</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;weight&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">70.0</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;shoe_size&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">42.0</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;tags&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;VIP,老客户&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;register_at&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2024-01-01 10:00:00&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;user_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;本人&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;parent_user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937422246876291072&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;phone&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;13800138000&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;check_info&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
                    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span><span class="hljs-punctuation">,</span>
                    <span class="hljs-attr">&quot;check_at&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2024-01-01&quot;</span>
                <span class="hljs-punctuation">}</span>
            <span class="hljs-punctuation">}</span>
        <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;total&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>字段说明</strong>:</p>
<ul>
<li><code>user_id</code>: 用户ID，唯一标识</li>
<li><code>user_name</code>: 用户姓名</li>
<li><code>shop_id</code>: 门店ID</li>
<li><code>gender</code>: 性别，1-男，2-女</li>
<li><code>birthday</code>: 生日，格式：YYYY-MM-DD</li>
<li><code>height</code>: 身高（厘米）</li>
<li><code>weight</code>: 体重（公斤）</li>
<li><code>shoe_size</code>: 鞋码</li>
<li><code>tags</code>: 用户标签</li>
<li><code>register_at</code>: 注册时间，格式：YYYY-MM-DD HH:mm:ss</li>
<li><code>user_type</code>: 用户类型，本人、家属</li>
<li><code>parent_user_id</code>: 父级用户ID（家属用户关联）</li>
<li><code>phone</code>: 联系电话</li>
<li><code>check_info</code>: 检查信息
<ul>
<li><code>check_id</code>: 检查ID</li>
<li><code>check_at</code>: 检查日期，格式：YYYY-MM-DD</li>
</ul>
</li>
</ul>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于搜索门店客户信息</li>
<li>支持按门店ID、用户名、联系电话进行模糊搜索</li>
<li>返回所有匹配的客户信息，不分页</li>
<li>用户类型：本人、家属</li>
<li>性别：1-男，2-女</li>
<li>如果客户有检查记录，check_info字段会包含检查ID和检查日期</li>
<li>如果客户没有检查记录，check_info字段为空对象</li>
</ol>
<h3 id="获取客户详情">获取客户详情</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/user/detail</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>string</td>
<td>是</td>
<td>客户ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937422246876291072&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;user_info&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937422246876291072&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;user_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;张三&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;shop_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;10003&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;gender&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;birthday&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1990-01-01&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;height&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">175.0</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;weight&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">70.0</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;shoe_size&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">42.0</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;tags&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;VIP,老客户&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;register_at&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2024-01-01 10:00:00&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;user_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;本人&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;parent_user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937422246876291072&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;phone&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;13800138000&quot;</span>
        <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;op_user_info&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;user_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;操作员工&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;phone&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;13800138001&quot;</span>
        <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;shop_info&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;shop_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;10003&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;shop_name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;呦步牡丹园店001&quot;</span>
        <span class="hljs-punctuation">}</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>字段说明</strong>:</p>
<ul>
<li><code>user_info</code>: 客户详细信息，结构同客户列表返回。</li>
<li><code>op_user_info</code>: 当前操作员工信息，包括员工ID、姓名、电话。</li>
<li><code>shop_info</code>: 客户所属门店的简要信息。</li>
</ul>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于获取指定客户的详细信息，包含客户基本信息、操作员工信息和门店信息。</li>
<li>需在header中携带<code>x-user-id</code>（操作员工ID），用于返回op_user_info。</li>
<li>返回的<code>user_info</code>结构与客户列表一致。</li>
<li><code>shop_info</code>为客户当前绑定门店的简要信息。</li>
<li>性别：1-男，2-女。</li>
<li>生日格式：YYYY-MM-DD。</li>
<li>注册时间格式：YYYY-MM-DD HH:mm:ss。</li>
</ol>
<h2 id="设备管理接口">设备管理接口</h2>
<h3 id="获取门店设备列表">获取门店设备列表</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/device/list</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>shop_id</td>
<td>string</td>
<td>是</td>
<td>门店ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;shop_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;10003&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
        <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;足底扫描仪&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;desc&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;用于扫描足底形态的专业设备&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;status&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span>
        <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
        <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;步态分析仪&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;desc&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;分析步态的专业设备&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;status&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span>
        <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
        <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">3</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;压力测试仪&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;desc&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;测试足底压力的专业设备&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;status&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span>
        <span class="hljs-punctuation">}</span>
    <span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于获取指定门店的所有设备列表</li>
<li>设备状态：1-正常，2-离线 3-停用</li>
<li>返回设备的基本信息，包括设备ID、名称、描述和状态</li>
<li>设备信息用于检查系统中的设备管理和状态监控</li>
</ol>
<h2 id="用户照片视频管理接口">用户照片视频管理接口</h2>
<h3 id="创建用户照片视频信息">创建用户照片视频信息</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/user/photo_video/create</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>string</td>
<td>是</td>
<td>用户ID</td>
</tr>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
<tr>
<td>heel_force_line_img</td>
<td>object</td>
<td>是</td>
<td>脚后跟力线图片对象，包含name和url</td>
</tr>
<tr>
<td>left_foot_zugo_img</td>
<td>object</td>
<td>是</td>
<td>左脚足弓图片对象，包含name和url</td>
</tr>
<tr>
<td>right_foot_zugo_img</td>
<td>object</td>
<td>是</td>
<td>右脚足弓图片对象，包含name和url</td>
</tr>
<tr>
<td>forefoot_toes_img</td>
<td>object</td>
<td>是</td>
<td>前足脚趾图片对象，包含name和url</td>
</tr>
<tr>
<td>body_posture_img</td>
<td>object</td>
<td>是</td>
<td>体姿体态图片对象，包含name和url</td>
</tr>
<tr>
<td>user_photo_1</td>
<td>object</td>
<td>是</td>
<td>客户人像照面-1图片对象，包含name和url</td>
</tr>
<tr>
<td>user_photo_2</td>
<td>object</td>
<td>否</td>
<td>客户人像照面-2图片对象，包含name和url</td>
</tr>
<tr>
<td>user_photo_3</td>
<td>object</td>
<td>否</td>
<td>客户人像照面-3图片对象，包含name和url</td>
</tr>
<tr>
<td>shoes_short_img</td>
<td>object</td>
<td>是</td>
<td>原鞋垫-长图片对象，包含name和url</td>
</tr>
<tr>
<td>shoes_insole_width_img</td>
<td>object</td>
<td>是</td>
<td>原鞋垫-前掌宽图片对象，包含name和url</td>
</tr>
<tr>
<td>shoes_mid_width_img</td>
<td>object</td>
<td>是</td>
<td>原鞋垫-中间宽图片对象，包含name和url</td>
</tr>
<tr>
<td>shoes_rear_width_img</td>
<td>object</td>
<td>是</td>
<td>原鞋垫-后跟宽图片对象，包含name和url</td>
</tr>
<tr>
<td>thickness_1_img</td>
<td>object</td>
<td>否</td>
<td>疼痛部位标识-1图片对象，包含name和url</td>
</tr>
<tr>
<td>thickness_2_img</td>
<td>object</td>
<td>否</td>
<td>疼痛部位标识-2图片对象，包含name和url</td>
</tr>
<tr>
<td>thickness_3_img</td>
<td>object</td>
<td>否</td>
<td>疼痛部位标识-3图片对象，包含name和url</td>
</tr>
<tr>
<td>thickness_4_img</td>
<td>object</td>
<td>否</td>
<td>疼痛部位标识-4图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_discrepancy_img</td>
<td>object</td>
<td>是</td>
<td>长短腿-脊柱侧弯图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_LLD_img</td>
<td>object</td>
<td>是</td>
<td>长短腿-踩楔形块后腘窝纹理图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_popliteal_img</td>
<td>object</td>
<td>是</td>
<td>长短腿-腘窝纹理图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_right_long_img</td>
<td>object</td>
<td>是</td>
<td>长腿腿-右腿长图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_left_long_img</td>
<td>object</td>
<td>是</td>
<td>长腿腿-左腿长图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_lateral_knee_img</td>
<td>object</td>
<td>是</td>
<td>长短腿-膝盖侧面对比图片对象，包含name和url</td>
</tr>
<tr>
<td>leg_length_knee_front_img</td>
<td>object</td>
<td>是</td>
<td>长短腿-膝盖前面对比图片对象，包含name和url</td>
</tr>
<tr>
<td>butai_video</td>
<td>object</td>
<td>是</td>
<td>步态分析视频视频对象，包含name和url</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;heel_force_line_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;脚后跟力线&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/heel_force_line.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;left_foot_zugo_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;左脚足弓&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/left_foot_zugo.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;right_foot_zugo_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;右脚足弓&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/right_foot_zugo.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;forefoot_toes_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;前足脚趾&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/forefoot_toes.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;body_posture_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;体姿体态&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/body_posture.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_photo_1&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;客户人像照面-1&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/user_photo_1.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_photo_2&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;客户人像照面-2&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/user_photo_2.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_photo_3&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;客户人像照面-3&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/user_photo_3.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_short_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-长&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_short.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_insole_width_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-前掌宽&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_insole_width.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_mid_width_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-中间宽&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_mid_width.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_rear_width_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-后跟宽&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_rear_width.jpg&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;img&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_1_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-1&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_2_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-2&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_3_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-3&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_4_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-4&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_discrepancy_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-脊柱侧弯&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_discrepancy.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_LLD_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-踩楔形块后腘窝纹理&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_LLD.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_popliteal_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-腘窝纹理&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_popliteal.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_right_long_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长腿腿-右腿长&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_right_long.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_left_long_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长腿腿-左腿长&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_left_long.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_lateral_knee_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-膝盖侧面对比&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_lateral_knee.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_knee_front_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-膝盖前面对比&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_knee_front.jpg&quot;</span>
    <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;butai_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;步态分析视频&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/butai.mp4&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;video&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>图片/视频请先通过上传接口获取OSS URL后再提交。</li>
<li>所有参数均为必填，thickness_1_img~thickness_4_img 可为空对象。</li>
<li>type=img是图片，type=video是视频</li>
</ol>
<h3 id="查询用户照片视频信息">查询用户照片视频信息</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/user_photo_video/info</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
  <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
  <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
  <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;123456&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1001&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;heel_force_line_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;脚后跟力线&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/heel_force_line.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;left_foot_zugo_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;左脚足弓&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/left_foot_zugo.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;right_foot_zugo_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;右脚足弓&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/right_foot_zugo.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;forefoot_toes_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;前足脚趾&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/forefoot_toes.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;body_posture_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;体姿体态&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/body_posture.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_photo_1&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;客户人像照面-1&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/user_photo_1.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_photo_2&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;客户人像照面-2&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/user_photo_2.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_photo_3&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;客户人像照面-3&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/user_photo_3.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_short_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-长&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_short.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_insole_width_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-前掌宽&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_insole_width.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_mid_width_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-中间宽&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_mid_width.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_rear_width_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;原鞋垫-后跟宽&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/shoes_rear_width.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_1_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-1&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_2_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-2&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_3_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-3&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;thickness_4_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;疼痛部位标识-4&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_discrepancy_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-脊柱侧弯&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_discrepancy.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_LLD_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-踩楔形块后腘窝纹理&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_LLD.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_popliteal_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-腘窝纹理&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_popliteal.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_right_long_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长腿腿-右腿长&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_right_long.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_left_long_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长腿腿-左腿长&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_left_long.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_lateral_knee_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-膝盖侧面对比&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_lateral_knee.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;leg_length_knee_front_img&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;长短腿-膝盖前面对比&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/img/leg_length_knee_front.jpg&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;butai_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;步态分析视频&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/butai.mp4&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;foot_scan_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;足底扫描视频&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/foot_scan.mp4&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;test_walk_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;测试走路视频&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/test_walk.mp4&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;foot_model_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;足部模型视频&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/foot_model.mp4&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;pressure_analysis_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;压力分析视频&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/pressure_analysis.mp4&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;posture_analysis_video&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;name&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;体姿体态分析视频&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-attr">&quot;url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://oss.example.com/video/posture_analysis.mp4&quot;</span><span class="hljs-punctuation">}</span>
  <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>所有图片/视频字段均为对象，包含name和url。</li>
<li>thickness_1_img~thickness_4_img 可能为空对象。</li>
<li>type=img是图片，type=video是视频</li>
</ol>
<h3 id="获取用户照片视频上传状态">获取用户照片视频上传状态</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/user_photo_video/status</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;status&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">0</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>状态码说明</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>已上传完成</td>
</tr>
<tr>
<td>1</td>
<td>未完成照片和视频上传，请完成手机照片视频上传并保存</td>
</tr>
</tbody>
</table>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于检查指定检查ID的用户照片视频是否已上传完成</li>
<li>如果该检查ID下没有用户照片视频记录，返回状态码1</li>
<li>如果该检查ID下有用户照片视频记录，返回状态码0</li>
<li>此接口通常用于检查上传进度，确保所有必要的照片和视频都已上传</li>
<li>建议在开始设备检查前调用此接口确认照片视频上传状态</li>
</ol>
<h2 id="设备报告管理接口">设备报告管理接口</h2>
<h3 id="上传设备报告">上传设备报告</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/device_report/upload</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>device_id</td>
<td>int</td>
<td>是</td>
<td>设备ID</td>
</tr>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
<tr>
<td>report</td>
<td>string</td>
<td>是</td>
<td>base64编码的主报告数据</td>
</tr>
<tr>
<td>report_name</td>
<td>string</td>
<td>是</td>
<td>report文件名</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;device_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2001&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;report&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;data:application/pdf;base64,JVBERi0xLjQKJcOkw7zDtsO...&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;report_name&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;动态足压报告&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;report_url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001.pdf&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;report_name&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;动态足压报告_20250708.pdf&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>报告数据必须是base64编码的PDF格式，格式为：data:application/pdf;base64,{base64数据}</li>
<li>report参数为必填，report1和report2为可选</li>
<li>报告文件会保存在OSS中，文件名格式为：{check_id}_{device_id}.pdf</li>
<li>附加报告文件名格式为：{check_id}_{device_id}<em>1.pdf 和 {check_id}</em>{device_id}_2.pdf</li>
<li>返回的报告URL可以直接访问</li>
<li>支持同时上传多个报告文件，每个报告都会生成独立的URL</li>
</ol>
<h3 id="创建设备报告">创建设备报告</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/device_report/create</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>string</td>
<td>是</td>
<td>用户ID</td>
</tr>
<tr>
<td>check_id</td>
<td>int</td>
<td>是</td>
<td>检查ID</td>
</tr>
<tr>
<td>device_id</td>
<td>int</td>
<td>是</td>
<td>设备ID</td>
</tr>
<tr>
<td>pdf_path</td>
<td>[]string</td>
<td>是</td>
<td>PDF报告URL数组</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2001</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;device_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;pdf_path&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
        <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001.pdf&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001_1.pdf&quot;</span>
    <span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10001</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2001</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;device_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;pdf_urls&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
            <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001.pdf&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001_1.pdf&quot;</span>
        <span class="hljs-punctuation">]</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于创建或更新设备报告记录</li>
<li>如果该设备和检查ID的组合已存在，则更新PDF URL列表</li>
<li>如果不存在，则创建新的设备报告记录</li>
<li>pdf_path参数为PDF报告URL的数组，多个URL用逗号分隔存储</li>
<li>返回的数据包含设备报告的完整信息，包括ID、检查ID、设备ID、用户ID和PDF URL列表</li>
<li>此接口与上传接口配合使用，先通过上传接口获取PDF URL，再通过此接口创建记录</li>
</ol>
<h3 id="获取设备报告">获取设备报告</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/device_report/info</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>device_id</td>
<td>[]int</td>
<td>是</td>
<td>设备ID数组</td>
</tr>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;device_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-number">1001</span><span class="hljs-punctuation">,</span> <span class="hljs-number">1002</span><span class="hljs-punctuation">,</span> <span class="hljs-number">1003</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2001&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;1001&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10001</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2001&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;device_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1001</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;pdf_urls&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
                <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001.pdf&quot;</span><span class="hljs-punctuation">,</span>
                <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1001_1.pdf&quot;</span>
            <span class="hljs-punctuation">]</span>
        <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;1002&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
            <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10002</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2001</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;device_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1002</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
            <span class="hljs-attr">&quot;pdf_urls&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
                <span class="hljs-string">&quot;https://yobu-cloud.oss-cn-beijing.aliyuncs.com/report/2001_1002.pdf&quot;</span>
            <span class="hljs-punctuation">]</span>
        <span class="hljs-punctuation">}</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于批量获取指定检查ID下多个设备的报告信息</li>
<li>device_id参数为设备ID数组，支持一次查询多个设备</li>
<li>返回的数据为map结构，key为设备ID，value为对应的设备报告信息</li>
<li>如果某个设备ID没有对应的报告记录，该设备ID不会出现在返回结果中</li>
<li>每个设备报告信息包含ID、检查ID、设备ID、用户ID和PDF URL数组</li>
<li>PDF URL数组中的URL可以直接访问</li>
<li>此接口与创建设备报告接口配合使用，用于查询已创建的设备报告</li>
</ol>
<h2 id="检查id管理接口">检查ID管理接口</h2>
<h3 id="获取检查id">获取检查ID</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/check_id</code></p>
<p><strong>请求参数</strong>: 无</p>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于生成新的检查ID，用于标识一次完整的检查流程</li>
<li>检查ID使用雪花算法生成，确保全局唯一性</li>
<li>检查ID为字符串类型，长度为19位数字</li>
<li>每次调用都会生成一个新的检查ID</li>
<li>此接口通常在其他检查相关接口之前调用，获取检查ID后再进行后续操作</li>
<li>检查ID用于关联同一检查流程中的所有数据，包括设备报告、用户照片视频等</li>
</ol>
<h2 id="检查配置管理接口">检查配置管理接口</h2>
<h3 id="获取检查配置">获取检查配置</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/config/check_kv</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>keys</td>
<td>[]string</td>
<td>是</td>
<td>配置键名数组</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;keys&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">&quot;device_config&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;check_config&quot;</span><span class="hljs-punctuation">,</span> <span class="hljs-string">&quot;report_config&quot;</span><span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;device_config&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;足底扫描仪&quot;</span>
            <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;步态分析仪&quot;</span>
            <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">3</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;压力测试仪&quot;</span>
            <span class="hljs-punctuation">}</span>
        <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;check_config&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;标准检查流程&quot;</span>
            <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;快速检查流程&quot;</span>
            <span class="hljs-punctuation">}</span>
        <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;report_config&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;PDF格式&quot;</span>
            <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
            <span class="hljs-punctuation">{</span>
                <span class="hljs-attr">&quot;key&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
                <span class="hljs-attr">&quot;value&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;Word格式&quot;</span>
            <span class="hljs-punctuation">}</span>
        <span class="hljs-punctuation">]</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于获取检查系统相关的配置信息</li>
<li>keys参数为配置键名数组，支持一次获取多个配置项</li>
<li>返回的数据为map结构，key为配置键名，value为配置项数组</li>
<li>每个配置项包含key（配置项ID）和value（配置项值）</li>
<li>配置数据存储在数据库的params表中，以JSON格式存储</li>
<li>如果某个配置键不存在，该键不会出现在返回结果中</li>
<li>此接口通常用于获取设备配置、检查流程配置、报告格式配置等系统参数</li>
</ol>
<h2 id="检查详情管理接口">检查详情管理接口</h2>
<h3 id="记录检查详情">记录检查详情</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/check_detail/record</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
<tr>
<td>user_id</td>
<td>string</td>
<td>是</td>
<td>用户ID</td>
</tr>
<tr>
<td>user_requirement</td>
<td>string</td>
<td>是</td>
<td>用户需求</td>
</tr>
<tr>
<td>user_requirement_remark</td>
<td>string</td>
<td>否</td>
<td>用户需求补充</td>
</tr>
<tr>
<td>common_symptoms</td>
<td>string</td>
<td>否</td>
<td>常见症状</td>
</tr>
<tr>
<td>force_line_symptoms</td>
<td>string</td>
<td>否</td>
<td>力线症状</td>
</tr>
<tr>
<td>foot_symptoms</td>
<td>string</td>
<td>否</td>
<td>足部症状</td>
</tr>
<tr>
<td>knee_symptoms</td>
<td>string</td>
<td>否</td>
<td>膝部症状</td>
</tr>
<tr>
<td>back_symptoms</td>
<td>string</td>
<td>否</td>
<td>背部症状</td>
</tr>
<tr>
<td>back_remark</td>
<td>string</td>
<td>否</td>
<td>背部详情</td>
</tr>
<tr>
<td>shoes_type</td>
<td>string</td>
<td>否</td>
<td>鞋子类型</td>
</tr>
<tr>
<td>shoes_upper_type</td>
<td>string</td>
<td>否</td>
<td>鞋帮类型</td>
</tr>
<tr>
<td>shoes_upper_info</td>
<td>string</td>
<td>否</td>
<td>鞋帮信息</td>
</tr>
<tr>
<td>custom_info</td>
<td>string</td>
<td>否</td>
<td>定制信息</td>
</tr>
<tr>
<td>custom_type</td>
<td>string</td>
<td>否</td>
<td>定制类型</td>
</tr>
<tr>
<td>check_result</td>
<td>string</td>
<td>否</td>
<td>检查结果</td>
</tr>
<tr>
<td>check_suggest</td>
<td>string</td>
<td>否</td>
<td>检查建议</td>
</tr>
<tr>
<td>check_pdf_url</td>
<td>string</td>
<td>否</td>
<td>检查报告PDF地址</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_requirement&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1,2&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;user_requirement_remark&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;测试数据&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;common_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;info&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;left_info&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;x&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">68</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;y&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">49</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;right_info&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">9</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;x&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">-6</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;y&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">85</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">}</span>&#x27;<span class="hljs-punctuation">,</span> <span class="hljs-comment">//type 1黑色 2红色</span>
    <span class="hljs-attr">&quot;force_line_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;foot_symptoms&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2,3&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;knee_symptoms&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;x腿,长短腿 xxxx&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;back_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-number">4</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;detail&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;左高右低&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;back_remark&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;详细情况&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;运动鞋&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_upper_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;高&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;shoes_upper_info&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;top&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;left&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">2</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;right&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;botton&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span>&#x27;<span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;custom_info&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;3D打印&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;custom_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;2&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_result&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;足弓塌陷，需要矫形鞋垫&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_suggest&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;建议使用矫形鞋垫，配合康复训练&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_pdf_url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://example.com/report.pdf&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>字段说明</strong>:</p>
<ul>
<li><code>shoes_type</code>: 鞋子类型，1-运动鞋，2-休闲鞋，3-皮鞋</li>
<li><code>shoes_upper_type</code>: 鞋帮类型，1-高，2-中，3-低</li>
<li><code>custom_type</code>: 定制类型，1-以适应性为主，2-以矫形为主</li>
</ul>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于记录或更新检查详情信息</li>
<li>如果该检查ID已存在记录，则更新现有记录；如果不存在，则创建新记录</li>
<li>只有非空字段才会被更新，空字段保持原值不变</li>
<li>检查详情包含用户需求、症状描述、鞋子信息、定制要求和检查结果等</li>
<li>此接口通常在完成设备检查和用户照片视频上传后调用</li>
<li>检查结果和建议用于后续的鞋垫定制和康复指导</li>
</ol>
<h3 id="获取检查详情">获取检查详情</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/check_detail/detail</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;user_requirement&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1,2&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;user_requirement_remark&quot;</span><span class="hljs-punctuation">:</span> &#x27;测试数据&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;common_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;info&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;symbol_type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;symbol_left_info&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;x&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">68</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;y&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">49</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;symbol_right_info&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">9</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;x&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">-6</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;y&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">85</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">}</span>&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;force_line_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;foot_symptoms&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;[2,3]&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;knee_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;detail&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;left&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;right&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;gap&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;back_symptoms&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-punctuation">[</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-number">4</span><span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;detail&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;左高右低&quot;</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;shoes_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">1</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;shoes_upper_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;shoes_upper_info&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;top&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;left&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">2</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;right&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;botton&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span>&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;custom_info&quot;</span><span class="hljs-punctuation">:</span> &#x27;<span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">1</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span><span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">3</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;opt&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">0</span><span class="hljs-punctuation">}</span><span class="hljs-punctuation">]</span>&#x27;<span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;custom_type&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">2</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;check_result&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;足弓塌陷，需要矫形鞋垫&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;check_suggest&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;建议使用矫形鞋垫，配合康复训练&quot;</span><span class="hljs-punctuation">,</span>
        <span class="hljs-attr">&quot;check_pdf_url&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;https://example.com/report.pdf&quot;</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>字段说明</strong>:</p>
<ul>
<li><code>check_id</code>: 检查ID，唯一标识一次检查</li>
<li><code>user_id</code>: 用户ID，关联客户信息</li>
<li><code>user_requirement</code>: 用户主要需求</li>
<li><code>user_requirement_remark</code>: 用户需求的补充说明</li>
<li><code>common_symptoms</code>: 常见症状描述</li>
<li><code>force_line_symptoms</code>: 力线相关症状</li>
<li><code>foot_symptoms</code>: 足部症状</li>
<li><code>knee_symptoms</code>: 膝部症状</li>
<li><code>back_symptoms</code>: 背部症状</li>
<li><code>shoes_type</code>: 鞋子类型，1-运动鞋，2-休闲鞋，3-皮鞋</li>
<li><code>shoes_upper_type</code>: 鞋帮类型，1-高，2-中，3-低</li>
<li><code>shoes_upper_info</code>: 鞋帮详细信息</li>
<li><code>custom_info</code>: 定制相关信息</li>
<li><code>custom_type</code>: 定制类型，1-以适应性为主，2-以矫形为主</li>
<li><code>check_result</code>: 检查结果总结</li>
<li><code>check_suggest</code>: 检查建议和康复指导</li>
<li><code>check_pdf_url</code>: 检查报告PDF文件地址</li>
</ul>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于获取指定检查ID的完整检查详情信息</li>
<li>如果检查ID不存在，返回404错误</li>
<li>返回的数据包含检查过程中的所有记录信息</li>
<li>检查详情用于后续的鞋垫定制、康复指导和客户服务</li>
<li>此接口通常与记录检查详情接口配合使用，先记录后查询</li>
</ol>
<h2 id="报告管理接口">报告管理接口</h2>
<h3 id="创建检查报告">创建检查报告</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/report/create</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>string</td>
<td>是</td>
<td>用户ID</td>
</tr>
<tr>
<td>check_id</td>
<td>string</td>
<td>是</td>
<td>检查ID</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;check_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1234567890123456789&quot;</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
        <span class="hljs-attr">&quot;id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">10001</span>
    <span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于创建完整的检查报告，整合所有检查数据</li>
<li>创建报告时会自动收集以下数据：
<ul>
<li>设备报告（足底扫描、全足扫描、步态分析等）</li>
<li>检查详情（用户需求、症状、检查结果等）</li>
<li>用户照片视频信息</li>
</ul>
</li>
<li>设备报告会根据设备类型自动分类：
<ul>
<li>足底扫描仪：scan_pdf_urls</li>
<li>全足扫描仪：full_scan_pdf_url</li>
<li>步态分析仪：podo_pdf_url</li>
</ul>
</li>
<li>检查时间使用检查详情的创建时间</li>
<li>报告PDF地址来自检查详情中的check_pdf_url字段</li>
<li>此接口通常在完成所有检查步骤后调用，生成最终的检查报告</li>
<li>返回的报告ID用于后续的报告查询和管理</li>
</ol>
<h2 id="用户管理接口">用户管理接口</h2>
<h3 id="更新用户复检状态">更新用户复检状态</h3>
<p><strong>请求方式</strong>: POST<br>
<strong>请求路径</strong>: <code>/api/check/user/update</code></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_id</td>
<td>string</td>
<td>是</td>
<td>用户ID</td>
</tr>
<tr>
<td>is_follow</td>
<td>bool</td>
<td>是</td>
<td>是否复检</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;user_id&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;1937417265653751808&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;is_follow&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-keyword">true</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
    <span class="hljs-attr">&quot;code&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-number">200</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;msg&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-string">&quot;success&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">&quot;data&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span><span class="hljs-punctuation">}</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p><strong>注意事项</strong>:</p>
<ol>
<li>此接口用于更新用户的复检状态</li>
<li>user_id参数为必填项，必须提供有效的用户ID</li>
<li>is_follow参数为必填项，用于设置用户的复检状态</li>
<li>如果用户不存在，接口会返回错误状态</li>
<li>更新成功后会修改用户表中的is_followup字段</li>
<li>此接口通常用于标记用户是否需要复检</li>
<li>接口需要管理员权限认证（x-user-id header）</li>
</ol>

            
            
        </body>
        </html>